<?php

class  admin {
	function __construct() {
		$this->caswee_db = pc_base::load_model('caswee_fast');
		$this->_username = param::get_cookie('_username');
		$this->_userid = param::get_cookie('_userid');
		
  		
	}
	
	public function init() { 
	
  		$infos = $this->caswee_db->listinfo($where,$order = 'id DESC',$page, $pages = '9');
  	$_username=$this->_username;
		
	if(!$_username)
			showmessage(L('请登录后再进行操作！'),'index.php?m=member&c=index&a=login');

		pc_base::load_sys_class('form', '', 0);
 		include template('caswee', 'admin');
	}  
	

}
?>
